package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminSupplementContract;
import com.ygqh.baby.po.AdminSupplementContractExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminSupplementContractMapper {
    int countByExample(AdminSupplementContractExample example);

    int deleteByExample(AdminSupplementContractExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminSupplementContract record);

    int insertSelective(AdminSupplementContract record);

    List<AdminSupplementContract> selectByExample(AdminSupplementContractExample example);

    AdminSupplementContract selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminSupplementContract record, @Param("example") AdminSupplementContractExample example);

    int updateByExample(@Param("record") AdminSupplementContract record, @Param("example") AdminSupplementContractExample example);

    int updateByPrimaryKeySelective(AdminSupplementContract record);

    int updateByPrimaryKey(AdminSupplementContract record);
    
    int countSuper(@Param("q") String q, @Param("changeContractCode") String changeContractCode);
    
    List<AdminSupplementContract> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q,  @Param("changeContractCode") String changeContractCode);

    AdminSupplementContract findDetailById(@Param("id")Long id);
}



